<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
  <link type="text/css" href="http://localhost/soviet/public/css/plantilla.css" rel="stylesheet" />
  <link type="text/css" href="http://localhost/soviet/public/CSS/clases.css" rel="stylesheet" />
  <link href="http://localhost/soviet/public/sdmenu/sdmenu.css" type="text/css" rel="stylesheet" />
  <link rel="STYLESHEET" type="text/css" href="ajax/dhtmlxGrid/css/dhtmlXGrid.css" />

  <script>_css_prefix="ajax/dhtmlxGrid/css/"; _js_prefix="ajax/dhtmlxGrid/js/"; </script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXCommon.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGridCell.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_start.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calck.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_acheck.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_calendar.js"></script>
  <script src="http://localhost/soviet/public/ajax/dhtmlxGrid/js/dhtmlXGrid_excell_clist.js"></script>
  <script src="http://localhost/soviet/public/sdmenu/sdmenu.js" type="text/javascript"></script>
  <script src="http://localhost/soviet/public/ajax/dojo/dojo.js" type="text/javascript"></script>
  <script language="JavaScript" type="text/javascript" src="http://localhost/soviet/public/javascript/utilidad.js"></script>
  <script language="JavaScript" type="text/javascript" src="http://localhost/soviet/public/javascript/validaciones.js"></script>
<script language="JavaScript" type="text/javascript" src="http://localhost/soviet/public/javascript/utilidades.js"></script>
  <script type="text/javascript">
    dojo.require("dojo.widget.TabContainer");
    dojo.require("dojo.widget.ContentPane");
    dojo.require("dojo.widget.ContentPane");
    dojo.require("dojo.widget.Button");
    dojo.require("dojo.widget.SortableTable");
  </script>

  <script languaje= "javascript">	
  var myMenu;
  window.onload = function() {
  myMenu = new SDMenu("my_menu");
  myMenu.init();
  }; </script>

  <title>Registrar Recursos</title>
  <script type="text/javascript" src="http://localhost/soviet/public/calendar.js"></script>
  <script type="text/javascript" src="http://localhost/soviet/public/calendar-setup.js"></script>
  <script type="text/javascript" src="http://localhost/soviet/public/lang/calendar-en.js"></script>
  <style type="text/css"> @import url("http://localhost/soviet/public/calendar-blue.css"); </style>
</head>

<body>
<div id="lienzo">
  <table align="center" border="0" width="954">
    <tr>
      <td colspan="3"><img src="http://localhost/soviet/public/Imagenes/encabezado_1.gif" width="971" /></td>
    </tr>
    <tr>
      <td width="172"> <img src="http://localhost/soviet/public/Imagenes/logo.gif" align="left" height="100" width="170" /></td>
      <td width="608"> <img src="http://localhost/soviet/public/Imagenes/Banner.jpg" height="102" width="616" /></td>
      <td width="172"> <img src="http://localhost/soviet/public/Imagenes/logo.gif" align="right" height="100" width="170" /></td>
    </tr>
  </table>

<div id="contenedorMenuPpal">
    <a href="http://localhost/soviet/indice">inicio</a> | <a href="http://localhost/soviet/quienessomos"> soviet </a> | <a href="http://localhost/soviet/consultarentrevista"> banco de voces </a> |
	<a href="http://localhost/soviet/consultardiscurso"> banco de videos </a> | <a href="http://localhost/soviet/registrarsugerenciasquejas"> sugerencias </a></div>

<div id="contenedorCuerpo">
<table id="tablaContenedora" style= "height : 317px;" width="100%">
  <tr>
    <td id="contenedorMenu" width="150">
      <?= render_partial("menu") ?> </td>
    <td id="contenedorNegocio" width="801">
    <?= content() ?>
    <form name="form1" id="form1" method="post" action="/soviet/Registrarrecursos/actualizar/">
    <div id="encabezadoNegocio" style="width: 798px; height: 35px;">Actualizar Recursos</div>
    <fieldset style="width: 96%;" class="claseRecuadro"><legend>Datos del Recursos</legend>
    <table class="tablaSencilla2" border="0" width="86%">
    <tr>
     <td><div align="right">Codigo:</div></td>
	 <td class="tablaSencilla"><div align="left">
       <input name="id" id="id6" value="<?= $id ?>" size="20" type="text" />
	 </div></td>
     <td>
       <div align="left">
         <input name="Buscar" value="Buscar" onclick="mario(form1);" type="submit" />
         </div></td><td class="tablaSencilla">&nbsp;</td>
    </tr>
    <tr>
      <td width="124"><div align="right">Nombre:</div></td>
      <td colspan="3" class="tablaSencilla"><div align="left">
          <input name="nombre" id="nombre" value="<?= $nombre ?>" size="40" onkeyup= "SoloLetras(this.form.nombre)" type="text" />
          </div></td>
     </tr>
     <tr>
        <td><div align="right">Descripcion:</div></td>
        <td colspan="3" class="tablaSencilla"><div align="left">
            <input name="descripcion" id="descripcion" value="<?= $descripcion ?>" size="40" type="text" onkeyup= "SoloLetras(this.form.descripcion)" />
        </div></td>
     </tr>
     <tr>
       <td height="37"><div align="right">Cantidad:</div></td>
       <td width="205" class="tablaSencilla"><div align="left">
           <input name="cantidad" id="cantidad" value="<?= $cantidad ?>" size="20" type="text" onkeyup= "Validarnumero(this.form.cantidad)" /></div></td>
       <td width="191" ><div align="right">Unidad de Medida : </div></td>
       <td width="228" class="tablaSencilla"><input name="unidmedida" id="unidmedida" value="<?= $unidmedida ?>" size="20" type="text" onkeyup= "SoloLetras(this.form.unidmedida)"/></td>
      </tr>
      <tr>
         <td><div align="right">Estatus:</div></td>
         <td class="tablaSencilla"><div align="left">
             <input name="estatus" id="estatus" value="<?= $estatus ?>" size="20" type="text" onkeyup= "SoloLetras(this.form.estatus)"/></div></td>
         <td><div align="right">Monto del Recurso: </div></td>
         <td class="tablaSencilla"><input name="monto" id="monto" value="<?= $monto ?>" size="20" type="text" onkeyup= "Validarnumero(this.form.monto)"/></td>
      </tr>
      <tr>
         <td height="29"><div align="right">Fecha de Asignacion:</div></td>
         <td class="tablaSencilla"><font size="-1">
                <input name="fechaasig" id = "fechaasig" value="<?= $fechaasig ?>" size="22" />
                <input name="image2" type="image" id="cal-button-1" src="http://localhost/soviet/public/img.gif" border="0" />
              </font>
                <script type="text/javascript">
            Calendar.setup({
              inputField    : "fechaasig",
              button        : "cal-button-1",
              align         : "Tr"
            });
                </script></td>
         <td><div align="right">Cedula del Solicitante : </div></td>
         <td height="26" class="tablaSencilla">
             <select name="tipocedula" id ="tipocedula"  value= "<?= $tipocedula ?>" >
             <option> V </option>
             <option> E </option>
           </select>
            <input name="cedulasolic" id="cedulasolic" value="<?=$cedulasolic ?>" size="12" type="text" onkeyup="Validarnumero(this.form.cedulasolic)"/></td>
       </tr>
       <tr>
         <td><div align="right">Objeto de Solicitud : </div></td>

         <td class="tablaSencilla" colspan="3"><div align="left"><span style="width: 247px;">
             <textarea name="objSolicitud" cols="60" id="objSolicitud"><?= $objSolicitud ?></textarea>
         </span></div></td>
        </tr>
        <tr>
          <td>                 <div align="right">Tipo de Recurso:            </div></td>
          <td class="tablaSencilla"><select name="tiporecurso_id" id ="tiporecurso_id"  value= "<?= $tiporecurso_id ?>" >
            <? foreach($Tiporecurso->find() as $dep): ?>
            <option value='<?= $dep->id ?>'><?= $dep->nombre ?></option>
            <? endforeach; ?>
          </select></td>
          <td>&nbsp;</td>
          <td>&nbsp;</td>
        </tr>
        <tr>
           <td height="26"> <div align="right">Proyecto :             </div></td>
           <td height="26" class="tablaSencilla"><select name="proyecto_id" id ="proyecto_id"  value= "<?= $proyecto_id ?>" >
             <? foreach($Proyecto->find() as $dep): ?>
             <option value='<?= $dep->id ?>'>
             <?= $dep->nombre ?>
             </option>
             <? endforeach; ?>
           </select></td>
           <td height="26">&nbsp;</td>
           <td height="26">&nbsp;</td>
        </tr>
          </tbody>
        </table>
        </fieldset>

        <div align="left">
        <fieldset style="width: 96%;" class="claseRecuadro">
        <div align="left">
          <legend>Datos del Proveedor</legend>
        <table class="tablaSencilla2" border="0" width="92%">
           <tbody>
		     <tr>
                  <td width="17%"><div align="right">Codigo: </div></td>
                  <td width="27%" class="tablaSencilla"><input name="codigo" id="codigo" value="<?= $codigo ?>" size="20" type="text" /></td>
                  <td width="32%">
                    <div align="center">
                      <input name="BuscarP" value="BuscarP" onclick=" javascript : ventana = open ('http://localhost/soviet/catalogoproveedor', ' ','width=900, height=900, status=no').moveTo (100,80)" type="submit" />
                      </div></td><td width="24%">&nbsp;</td>
               </tr>
                <tr>
                  <td><div align="right">Nombre: </div></td>
               <td class="tablaSencilla"><input name="proveedor" id="proveedor"  value="<?= $proveedor ?>" size="20" type="text" /></td>
                  <td colspan="3" class="tablaSencilla">
      <div align="left">
              
                  <div align="center"></div></td>
                  </tr>
                <tr>
                  <td><div align="right">Rif: </div></td>
                  <td class="tablaSencilla">
              <div align="left"> <input name="rif" id="rif" value="<?= $rif ?>" size="20" type="text" /> </div>                  </td>
                  <td><div align="center">Contacto: </div></td>
                  <td class="tablaSencilla"><input id="contacto" name="contacto" value="<?= $contacto ?>" size="20" type="text" /></td>
                </tr>
          </tbody>
      </table> 
	  </div>
	  </fieldset>       
        </div>
<div id="pieDePaginaNegocio" class="box">
<p align="center">
<input name="Guardar" value="Guardar" type="submit" />
<input name="Cancelar" value="Cancelar" type="submit" />
<input name="Eliminar" value="Eliminar" type="submit" />
</p>
</div>
      </form>
      </td>
    </tr>
</table>
</div>



</div>
</body>
</html>